package xyz.cerberu.cet.global.annotation;

import java.lang.annotation.*;

/**
 * @author β世界 on 9:17 2020/10/12
 * 自定义Jackson过滤注解
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(JSONS.class)   // 让方法支持多重@JsonFilter 注解
public @interface JsonFilter {
    Class<?> type();
    String include() default "";
    String filter() default "";
}
